package cn.ljh.student.dao;
import cn.ljh.student.pojo.Student;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudentMapper {

	public Student getStudentById(@Param(value = "id") String id)throws Exception;

	public List<Student>	getStudentListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudentCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudent(Student student)throws Exception;

	public Integer updateStudent(Student student)throws Exception;

	public Integer deleteStudentById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudent(Map<String,List<String>> params);

}
